<template>
    <div class="Admin" v-if="loadState">
      <Sidebar @changePanel="changeMain" />
      <Main v-if="isMain" :showMain="isMain" />
    </div>
    <div class="adminLogins" v-else>
      <ALogin @changeLoad="loadSuccess"/>
    </div>
</template>

<script src="./Admin.js"></script>

<style lang="scss">
 @import "./Admin.scss";
</style>
